const $api = require('../../utils/api.js').API;

Page({
    data: {},
    onLoad: function (options) {
        $api.getBubble()
            .then(res => {
                //请求成功
                console.log(res)
            })
            .catch(err => {
                //请求失败
            })
    }
})